package com.jiyun.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderVo {
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;
    private Integer userId;
    private String orderType;
    private String orderStatus;
    private BigDecimal totalPrice;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderTime;
    //    有效时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date haveTime;
    private Integer relatedId;
    private String imgUrl;
    //    订单名称
    private String dingdanName;
    //    订单编号
    private String orderNo;


}
